package org.jeecg.modules.product.basics.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 化学品信息
 * @Author: jeecg-boot
 * @Date:   2024-07-07
 * @Version: V1.0
 */
@Data
@TableName("tb_basics_chemicals")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="化学品信息")
public class TbBasicsChemicals implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**区域类型*/
	@Excel(name = "区域类型", width = 15, dicCode = "regionType")
	@Dict(dicCode = "regionType")
    @Schema(description = "区域类型")
    private String regionType;
	/**危险化学品名称*/
	@Excel(name = "危险化学品名称", width = 15)
    @Schema(description = "危险化学品名称")
    private String name;
	/**CAS号*/
	@Excel(name = "CAS号", width = 15)
    @Schema(description = "CAS号")
    private String casNumber;
	/**化学品类型*/
	@Excel(name = "化学品类型", width = 15, dicCode = "chemicalClass")
	@Dict(dicCode = "chemicalClass")
    @Schema(description = "化学品类型")
    private String chemicalClass;
	/**作用*/
	@Excel(name = "作用", width = 15)
    @Schema(description = "作用")
    private String effect;
	/**最大储存量（t）*/
	@Excel(name = "最大储存量（t）", width = 15)
    @Schema(description = "最大储存量（t）")
    private Double maxStorage;
	/**实时储存量*/
	@Excel(name = "实时储存量", width = 15)
    @Schema(description = "实时储存量")
    private Double realTimeStorage;
	/**储存方式/地点*/
	@Excel(name = "储存方式/地点", width = 15)
    @Schema(description = "储存方式/地点")
    private String storageMethodLocation;
	/**产品生产能力（吨）*/
	@Excel(name = "产品生产能力（吨）", width = 15)
    @Schema(description = "产品生产能力（吨）")
    private Double productiveCapacity;
	/**产品生产能力气体（方）*/
	@Excel(name = "产品生产能力气体（方）", width = 15)
    @Schema(description = "产品生产能力气体（方）")
    private Double maxProductiveGas;
	/**产品最大储量（吨）*/
	@Excel(name = "产品最大储量（吨）", width = 15)
    @Schema(description = "产品最大储量（吨）")
    private Double maxReservesTonsOf;
	/**产品最大储量气体（方）*/
	@Excel(name = "产品最大储量气体（方）", width = 15)
    @Schema(description = "产品最大储量气体（方）")
    private Double maxReservesCube;
	/**是否重点监管化学品*/
	@Excel(name = "是否重点监管化学品", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否重点监管化学品")
    private String isKeyChemicals;
	/**是否易制爆*/
	@Excel(name = "是否易制爆", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否易制爆")
    private String isInhibitingExplosion;
	/**是否剧毒*/
	@Excel(name = "是否剧毒", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否剧毒")
    private String isHighlyToxic;
	/**是否易制毒*/
	@Excel(name = "是否易制毒", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否易制毒")
    private String isManufactureDrugs;
	/**状态*/
    @Excel(name = "状态", width = 15, dicCode = "normalOrStop")
    @Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String status;
	/**上传文件*/
	@Excel(name = "上传文件", width = 15)
    @Schema(description = "上传文件")
    private String doc;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
}
